//
//  TiaoGuangStateObject.m
//  Karaoke
//
//  Created by 蒋 浩锋 on 12-9-5.
//  Copyright (c) 2012年 Jiang Haofeng. All rights reserved.
//

#import "TiaoGuangStateObject.h"

@implementation TiaoGuangStateObject
{
    NSString *_currentMode;
}

static TiaoGuangStateObject *_sharedInstance;

@synthesize KaiGuanState, PaiFengState, KongTiaoState1, KongTiaoState2, KongTiaoState3, CurrentMode = _currentMode;
@synthesize DengGuangMingCheng, names;
@synthesize line1Value, line2Value, line3Value, line4Value, line5Value, line6Value, line7Value, line8Value, line9Value, line10Value, line11Value, line12Value,currentModeValue;

+ (TiaoGuangStateObject *)sharedInstance
{
    if (!_sharedInstance)
    {
        _sharedInstance = [[TiaoGuangStateObject alloc] init];
    }

    return _sharedInstance;
}

- (id)init
{
    self = [super init];

    if (self)
    {
        self.DengGuangMingCheng = [[NSMutableDictionary alloc] init];
    }

    return self;
}

- (void)setCurrentMode:(NSString *)aCurrentMode
{
    switch (aCurrentMode.intValue)
    {
        case 1:
            _currentMode = @"选秀";
            break;

        case 2:
            _currentMode = @"慢摇";
            break;

        case 3:
            _currentMode = @"商务";
            break;

        case 4:
            _currentMode = @"K歌";
            break;

        case 5:
            _currentMode = @"清洁";
            break;

        case 6:
            _currentMode = @"柔和";
            break;

        default:
            break;
    }
}

- (NSString *)CurrentMode
{
    return _currentMode;
}

@end